package com.atguigu.guli.service.statistics.service.statistics.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.util.Date;

@Slf4j
@Component
public class ScheduleTask {
/*    //测试定时任务
    @Scheduled(cron = "0/5 * * * * *") //每隔5s执行
    public void test() {
        log.info(new Date().toString());
    }*/
}
